<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul:nth-child(1){
            display: flex;

        }
        li{
            margin-right: 30px;
        }
    </style>
</head>
<body>
    <div id="app">
       <ul>
        <li v-for="(item,index) in arr" :key="index">
            <input type="checkbox" :value="item" v-model="str">
            <span>{{item}}</span></li>
       </ul>
       <ul>
        <li v-for="item in str">{{item}}</li>
       </ul>
    </div>


  <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
  <script>
    const app = new Vue({
        el:'#app',
        data:{
          arr:["科幻", "喜剧", "动漫", "冒险", "科技", "军事", "娱乐", "奇闻"],
          str:[]
        }
    })
  </script>

    
</body>
</html>